<?php

require_once ('library/Zend/View/Helper/Abstract.php');

class Zend_View_Helper_ApproveType extends Zend_View_Helper_Abstract {
	public function approveType($typeValue){
		$intValue=(int)$typeValue;
		if(0==$intValue){
			return "等待审核中";
		}
		if(1==$intValue){
			return "审核通过";
		}
		if(2==$intValue){
			return "审核未通过";
		}
	}
}

?>